﻿namespace VupSlashLauncher.Common
{
    public class GlobalValues
    {
        public static string ConfigFile = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + @"\VupSlash\config.ini";
        public static string ConfigDir = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + @"\VupSlash";
        public static string GameExecuteFile = "QSanguosha";
        public static string GameExecuteFileVup = "VupSlash";
        public static string PatchFile = "patch.zip";
        public static string MainFile = "VupSlash.zip";
        public static string InstallDir = "\\VupSlash";
        public static string LauncherVersion = "1.2.2";
        public static string UpdateUrl = "https://vupslash.icu/updates/";
        public static string OfficialUrl = "https://vupslash.icu";
        public static string BilibiliOfficialUrl = "https://space.bilibili.com/699889791";
        public static string SourceUrl = "https://gitee.com/shadlc/vup-slash-launcher";
        public static string GetVersionUrl = UpdateUrl + "version.csv";
        public static string GetNoticeUrl = UpdateUrl + "notice/";
        public static string CountUrl = UpdateUrl + "count/";
        public static string LatestLauncherVersion = LauncherVersion;
        public static string DownloadPatchUrl = "";
        public static string NoticeUrl = "";
        public static string NoticeLocal = "";
        public static string NoticeLatest = "";
        public static string NoticeContent = "";
        public static bool HaveNet = false;
        public static string[][] VersionList;
        //0:没有网络   1:读取最新版本错误   2:无需更新   3:立即更新
        public static int VersionState = 0;
        public static string LocalVersion = "未知版本";
        public static string LatestVersion = "未知版本";
        public static string ThemeColor = "#3D6CB4";
        public static string ThemeColorTitle = "Normal";
        public static string GameDir = null;
        public static int PositionLeft = 0;
        public static int PositionTop = 0;
        public static string DetectWord = null;
        public static string NameInGame = null;
        public static string GameHostIP = null;
        public static string GameWindowW = null;
        public static string GameWindowH = null;
        public static bool AutoCheckLauncherUpdate = true;
        public static bool StartShowNotice = true;
        public static bool CloseWhenStart = false;
        public static bool FirstTimeStart = false;
        public static bool DebugMode = false;
    }
}
